package com.fengye.model;

import java.io.Serializable;

/**
 * @Author fengye
 * @Date 2023/2/13 11:41
 **/
public class RemoteRequest implements Serializable {
    private static final long serialVersionUID = -2615727147226257901L;

    /** UUID, 唯一标识一次返回 */
    private String uniqueKey;

    /** 服务发布者信息 */
    private ProviderService providerService;

    /** 调用方法名称 */
    private String invokedMethodName;

    /** 调用参数 */
    private Object[] args;

    /** 调用appKey */
    private String appKey;

    /** 调用超时时间 */
    private long invokeTimeout;

    public String getUniqueKey() {
        return uniqueKey;
    }

    public void setUniqueKey(String uniqueKey) {
        this.uniqueKey = uniqueKey;
    }

    public ProviderService getProviderService() {
        return providerService;
    }

    public void setProviderService(ProviderService providerService) {
        this.providerService = providerService;
    }

    public String getInvokedMethodName() {
        return invokedMethodName;
    }

    public void setInvokedMethodName(String invokedMethodName) {
        this.invokedMethodName = invokedMethodName;
    }

    public Object[] getArgs() {
        return args;
    }

    public void setArgs(Object[] args) {
        this.args = args;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public long getInvokeTimeout() {
        return invokeTimeout;
    }

    public void setInvokeTimeout(long invokeTimeout) {
        this.invokeTimeout = invokeTimeout;
    }
}
